package com.huike.review.service;

import com.huike.common.core.domain.AjaxResult;
import com.huike.review.mapper.MybatisReviewMapper;
import com.huike.review.pojo.Review;
import com.huike.review.vo.MybatisReviewVO;
import org.mybatis.spring.SqlSessionFactoryBean;

import java.util.List;

/**
 * mybatis复习接口层
 */
public interface ReviewService {
    public void insert(Review review);

    public void delete(Integer id);

    public Review getByID(Integer id);

    public void updateReview(Review review);

    public List<Review> getPageLimit(int pageNum,int pageSize);

    public Integer getAllNum();
}
